<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">  
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <meta name="format-detection" content="telephone=no" />
    <meta content="yes" name="mobile-web-app-capable">
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
	<title>${result.title!''}</title>
  	<meta name="description" content="${result.describe!''}"/>
    <meta name="keywords" content="${result.keyword!''}"/>
	<link href="/images/favicon.png" rel="shortcut icon" />
	<link rel="stylesheet" type="text/css" th:href="@{/css/reception/bootstrap.css}"/>
    <link rel="stylesheet" type="text/css" th:href="@{/css/reception/style.css}"/>
    <link rel="stylesheet" type="text/css" media="screen and (max-width:1199px)" th:href="@{/css/reception/phone.css}"/>
	<!--[if IE 8]>
	<link rel="stylesheet" type="text/css" href="css/style.css"/>
	<![endif]-->
	<script>
	var _hmt = _hmt || [];
	(function() {
  		var hm = document.createElement("script");
  		hm.src = "https://hm.baidu.com/hm.js?ee2370df92169848f6c4395d9d488fc1";
  		var s = document.getElementsByTagName("script")[0]; 
  		s.parentNode.insertBefore(hm, s);
	})();
</script>
</head>
<body>
	<div id="news">
		<nav class="nav"></nav>
		<section>
			<div class="news banner">
				<div>
					<img src="/images/news/news_bg1.jpg" title="" alt="">
				</div>
			</div>
			<div class="news_con">
				<div class="news_nav w1200">
					<span>首页</span>
					<img src="/images/icon_next.png">
					<span>新闻动态</span>
					<img src="/images/icon_next.png">
					<span>所有新闻</span>
					<img src="/images/icon_next.png">
					<span>新闻动态标题</span>
				</div>
				<div class="news_detail w1200">
					<h5>${result.name!''}</h5>
					<div class="news_detail_author">
						<span>作者：${result.editors!''}</span><br/>
						<span>${result.update!''}</span>
					</div>
					<div class="news_detail_text clearfloat">
						<div>
							${result.content!''}
						</div>
					</div>
				</div>
				<div class="news_detail_bot w1200">
					<span class="left" data-id="${str[1]!''}">上一篇：<a href="/xwxq/${str[1]!''}">${str[0]!''}</a></span>
					<span class="right" data-id="${str[3]!''}">下一篇：<a href="/xwxq/${str[3]!''}">${str[2]!''}</a></span>
				</div>
			</div>
		</section>
		<footer>
			<div class="footer"></div>
		</footer>
	</div>
	<script type="text/javascript" th:src="@{/libs/jquery-2.1.0.min.js}"></script>
    <script type="text/javascript" th:src="@{/js/reception/style.js}"></script>
    <script type="text/javascript">
    	//判断点击上一篇和下一篇为0的时候去掉点击事件
    	$(".news_detail_bot span").click(function(){
			var data_id = $(this).attr("data-id");
			if(data_id=="0"){
				 $(this).find("a").removeAttr('href');
				 alert('已经到底了。');
			}
		})
	</script>
</body>
</html>